import instance from '@/utils/axios.js'

const userLogin = ({ username, password }) => {
  return instance({
    url: '/admin/user/login',
    method: 'post',
    data: {
      username,
      password
    }
  })
}

export { userLogin }
